oxenstored: only record operations with side-effects in history
authorJonathan Davies <jonathan.davies@citrix.com>
Thu, 23 Mar 2017 14:20:33 +0000 (14:20 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 5 Apr 2017 14:10:42 +0000 (15:10 +0100)
commit9a2c5b42ad29ea731ed95d7aae5b59df1c526eb3
tree6037ea4bb424da99504ec1e9e6b9f9d63e1b427e
parent567051b61858424ec8725efe23641d12ee69791c
oxenstored: only record operations with side-effects in history

There is no need to record "read" operations as they will never cause another
transaction to fail.

Reported-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
Reviewed-by: Thomas Sanders <thomas.sanders@citrix.com>
tools/ocaml/xenstored/process.ml